<template>
  <el-container id="container">
    <el-header>
      管理系统
      <el-avatar src="https://cube.elemecdn.com/0/88/03b0d39583f48206768a7534e55bcpng.png"></el-avatar>
    </el-header>
    <el-container>
      <el-aside width="202px">
        <Aside></Aside>
      </el-aside>
      <el-main>
        <router-view></router-view>
      </el-main>
    </el-container>
    <el-footer>我的椿湫，我做主</el-footer>
  </el-container>
</template>

<script>
import Aside from "./main/aside";

export default {
  components: {
    Aside
  },
  created(){
    console.log(this.merchantId)
  }
};
</script>

<style scoped>
#container{
  height: 100vh;
}
.el-main{
  line-height: normal;
}
.el-table th,
.el-table td {
  text-align: center !important;
}
.el-header,
.el-footer {
  background-color: rgb(200, 200, 200);
  color: #333;
  text-align: center;
  line-height: 60px;
  font-family: "华文行楷";
}
.el-header {
  font-size: 36px;
  font-weight: bold;
  color: #fff;
  position: relative;
}
.el-aside {
  background-color: #fff;
  color: #333;
  text-align: center;
  line-height: 200px;
  border-right: 1px dashed #999;
}

.el-main {
  background-color: #fff;
  color: #333;
  text-align: center;
}
.el-avatar {
  position: absolute;
  right: 40px;
  top: 0;
  bottom: 0;
  margin: auto 0;
}
</style>